[INFO] cloning repository https://github.com/Simon-Bertrand/ohlc-timeserie-db.rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Simon-Bertrand/ohlc-timeserie-db.rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSimon-Bertrand%2Fohlc-timeserie-db.rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSimon-Bertrand%2Fohlc-timeserie-db.rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ee1e99fc1491ad52dd3afe3c0fe4899e487518fb
[INFO] fixing Simon-Bertrand/ohlc-timeserie-db.rs against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSimon-Bertrand%2Fohlc-timeserie-db.rs" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Simon-Bertrand/ohlc-timeserie-db.rs
[INFO] finished tweaking git repo https://github.com/Simon-Bertrand/ohlc-timeserie-db.rs
[INFO] tweaked toml for git repo https://github.com/Simon-Bertrand/ohlc-timeserie-db.rs written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Simon-Bertrand/ohlc-timeserie-db.rs on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Simon-Bertrand/ohlc-timeserie-db.rs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 253fdd14c9e26b5facc4a5330c48650cf4d78dfd2b59d3970abd4887572e767d
[INFO] running `Command { std: "docker" "start" "253fdd14c9e26b5facc4a5330c48650cf4d78dfd2b59d3970abd4887572e767d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "253fdd14c9e26b5facc4a5330c48650cf4d78dfd2b59d3970abd4887572e767d" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "253fdd14c9e26b5facc4a5330c48650cf4d78dfd2b59d3970abd4887572e767d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "253fdd14c9e26b5facc4a5330c48650cf4d78dfd2b59d3970abd4887572e767d" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Compiling proc-macro2 v1.0.40
[INFO] [stderr]    Compiling unicode-ident v1.0.1
[INFO] [stderr]    Compiling quote v1.0.20
[INFO] [stderr]    Compiling syn v1.0.98
[INFO] [stderr]    Compiling libc v0.2.127
[INFO] [stderr]    Compiling serde_derive v1.0.138
[INFO] [stderr]    Compiling serde v1.0.138
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling serde_json v1.0.83
[INFO] [stderr]    Compiling rust_decimal v1.25.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.16
[INFO] [stderr]     Checking arrayvec v0.7.2
[INFO] [stderr]     Checking itoa v1.0.3
[INFO] [stderr]     Checking regex-syntax v0.6.27
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]     Checking ryu v1.0.11
[INFO] [stderr]     Checking aho-corasick v0.7.18
[INFO] [stderr]     Checking getrandom v0.2.7
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking regex v1.6.0
[INFO] [stderr]     Checking bincode v1.3.3
[INFO] [stderr]     Checking timeseries_database v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]   --> src/channels/inoutputs/inoutputs.rs:34:13
[INFO] [stdout]    |
[INFO] [stdout] 33 |           serde_json::to_string({
[INFO] [stdout]    |           --------------------- borrow later used by call
[INFO] [stdout] 34 | /             &points.iter().map(|point| {
[INFO] [stdout] 35 | |                 return SerializeTsPoint { t : point.t,  o :point.data.o, h:point.data.h, c:point.data.c, l:point.data.l }
[INFO] [stdout] 36 | |             }).collect::<Vec<SerializeTsPoint>>()
[INFO] [stdout]    | |_________________________________________________^ this temporary value will be dropped at the end of the block
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this changes meaning in Rust 2024
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]    = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]   --> src/channels/inoutputs/inoutputs.rs:34:13
[INFO] [stdout]    |
[INFO] [stdout] 33 |           serde_json::to_string({
[INFO] [stdout]    |           --------------------- borrow later used by call
[INFO] [stdout] 34 | /             &points.iter().map(|point| {
[INFO] [stdout] 35 | |                 return SerializeTsPoint { t : point.t,  o :point.data.o, h:point.data.h, c:point.data.c, l:point.data.l }
[INFO] [stdout] 36 | |             }).collect::<Vec<SerializeTsPoint>>()
[INFO] [stdout]    | |_________________________________________________^ this temporary value will be dropped at the end of the block
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this changes meaning in Rust 2024
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]    = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating tests/write_read_test.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating src/main.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating tests/ohlc_aggregation_test.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating tests/query_string_test.rs from 2021 edition to 2024
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.38s
[INFO] [stderr] crater-edition-check: timeseries_database v0.1.0 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking timeseries_database v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `datastruct::tspoint::TsPoint`
[INFO] [stdout]  --> src/datastruct/collection/collection.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::{datastruct::tspoint::TsPoint, datastruct::bloc::bloc::Bloc, datastruct::indexmap::indexmap::IndexMap};
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `collection::Collection`
[INFO] [stdout]  --> src/system/queryparser.rs:6:44
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::{datastruct::{tspoint::TsPoint, collection::Collection}, indexing::{indexresult::IndexResult, aggregator::Aggregator}, BAT...
[INFO] [stdout]   |                                            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Sub`
[INFO] [stdout]  --> src/sysutils/helpers/helpers.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ops::Sub;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/sysutils/helpers/helpers.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 |         if (a < b) { return *default }
[INFO] [stdout]    |            ^     ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 14 -         if (a < b) { return *default }
[INFO] [stdout] 14 +         if a < b  { return *default }
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/sysutils/helpers/helpers.rs:19:11
[INFO] [stdout]    |
[INFO] [stdout] 19 |         if(min<max) {
[INFO] [stdout]    |           ^       ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 19 -         if(min<max) {
[INFO] [stdout] 19 +         if min<max  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `datastruct::tspoint::TsPoint`
[INFO] [stdout]  --> src/datastruct/collection/collection.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::{datastruct::tspoint::TsPoint, datastruct::bloc::bloc::Bloc, datastruct::indexmap::indexmap::IndexMap};
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `collection::Collection`
[INFO] [stdout]  --> src/system/queryparser.rs:6:44
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::{datastruct::{tspoint::TsPoint, collection::Collection}, indexing::{indexresult::IndexResult, aggregator::Aggregator}, BAT...
[INFO] [stdout]   |                                            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Sub`
[INFO] [stdout]  --> src/sysutils/helpers/helpers.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ops::Sub;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/sysutils/helpers/helpers.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 |         if (a < b) { return *default }
[INFO] [stdout]    |            ^     ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 14 -         if (a < b) { return *default }
[INFO] [stdout] 14 +         if a < b  { return *default }
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/sysutils/helpers/helpers.rs:19:11
[INFO] [stdout]    |
[INFO] [stdout] 19 |         if(min<max) {
[INFO] [stdout]    |           ^       ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 19 -         if(min<max) {
[INFO] [stdout] 19 +         if min<max  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0716]: temporary value dropped while borrowed
[INFO] [stdout]   --> src/channels/inoutputs/inoutputs.rs:34:14
[INFO] [stdout]    |
[INFO] [stdout] 33 |           serde_json::to_string({
[INFO] [stdout]    |           --------------------- borrow later used by call
[INFO] [stdout] 34 |               &points.iter().map(|point| {
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 35 | |                 return SerializeTsPoint { t : point.t,  o :point.data.o, h:point.data.h, c:point.data.c, l:point.data.l }
[INFO] [stdout] 36 | |             }).collect::<Vec<SerializeTsPoint>>()
[INFO] [stdout]    | |                                                 ^
[INFO] [stdout]    | |                                                 |
[INFO] [stdout]    | |_________________________________________________temporary value is freed at the end of this statement
[INFO] [stdout]    |                                                   creates a temporary value which is freed while still in use
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using a `let` binding to create a longer lived value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0716]: temporary value dropped while borrowed
[INFO] [stdout]   --> src/channels/inoutputs/inoutputs.rs:34:14
[INFO] [stdout]    |
[INFO] [stdout] 33 |           serde_json::to_string({
[INFO] [stdout]    |           --------------------- borrow later used by call
[INFO] [stdout] 34 |               &points.iter().map(|point| {
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 35 | |                 return SerializeTsPoint { t : point.t,  o :point.data.o, h:point.data.h, c:point.data.c, l:point.data.l }
[INFO] [stdout] 36 | |             }).collect::<Vec<SerializeTsPoint>>()
[INFO] [stdout]    | |                                                 ^
[INFO] [stdout]    | |                                                 |
[INFO] [stdout]    | |_________________________________________________temporary value is freed at the end of this statement
[INFO] [stdout]    |                                                   creates a temporary value which is freed while still in use
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using a `let` binding to create a longer lived value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `width`
[INFO] [stdout]   --> src/indexing/aggregator/aggregator.rs:14:14
[INFO] [stdout]    |
[INFO] [stdout] 14 | fn OHLC_core(width : u64, x : &[TsPoint]) -> TsPoint {
[INFO] [stdout]    |              ^^^^^ help: if this is intentional, prefix it with an underscore: `_width`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `width`
[INFO] [stdout]   --> src/indexing/aggregator/aggregator.rs:14:14
[INFO] [stdout]    |
[INFO] [stdout] 14 | fn OHLC_core(width : u64, x : &[TsPoint]) -> TsPoint {
[INFO] [stdout]    |              ^^^^^ help: if this is intentional, prefix it with an underscore: `_width`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0716`.
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0716`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `timeseries_database` (lib) due to 1 previous error; 6 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `timeseries_database` (lib test) due to 1 previous error; 6 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "253fdd14c9e26b5facc4a5330c48650cf4d78dfd2b59d3970abd4887572e767d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "253fdd14c9e26b5facc4a5330c48650cf4d78dfd2b59d3970abd4887572e767d", kill_on_drop: false }`
[INFO] [stdout] 253fdd14c9e26b5facc4a5330c48650cf4d78dfd2b59d3970abd4887572e767d
